﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpDutyLownBatch.aspx.cs" Inherits="UI.ModEmployee.EmpDutyLownBatch" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>批量处理职位下限</title>
       <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
</head>
<body>
    <form id="form1" runat="server">
   <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            <b>批量定义下限</b></div>  
            <div  class="pagetopright">部门：
                        <asp:DropDownList ID="ddlDeptID" runat="server" CssClass="InputCss" Width="100px"
                            TabIndex="0" >
                        </asp:DropDownList>
                         <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" 
                            Text="查询部门职位" /></div>   
    </div>
    <div>
    </div>

                     <asp:GridView ID="gvList" runat="server" DataKeyNames="ID" Width="98%" AutoGenerateColumns="false"
        BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px"
        CellPadding="3" GridLines="Horizontal"  CssClass="td">
        <Columns>       

          
               <asp:TemplateField HeaderText="职位名称"  ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <asp:Label ID="lbDutyName" runat="server" Text='<%# Eval("DutyName")%>'></asp:Label>                   
                </ItemTemplate>
                <ItemStyle Width="80px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="职位编号"  ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <asp:Label ID="lbID" runat="server" Text='<%# Eval("ID")%>'></asp:Label>                   
                </ItemTemplate>
                <ItemStyle Width="80px" />
            </asp:TemplateField>  

            <asp:TemplateField HeaderText="下限人数">
                <ItemTemplate>
                    <asp:TextBox ID="txtLowLimit" runat="server" onkeydown="if(event.keyCode==13)event.keyCode=9"  size="10" MaxLength="5" class="InputLineCss" ></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
           
        </Columns>      
        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />       
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
        <AlternatingRowStyle BackColor="#F7F7F7" />
    </asp:GridView>
                        <br />
                        &nbsp;
                        <asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="设置下限" />
           
                    </div>
              
    &nbsp;不想修改的不要填数字</form>
</body>
</html>
